package com.moyun.model.po.bpm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.moyun.model.common.CommonFieldEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangboxuan
 * @since 2021-10-13
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("bpm_ins_document")
public class BpmInsDocument extends CommonFieldEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 关联的流程id
     */
    @TableField("fk_process")
    private String fkProcess;

    /**
     * 文档名称
     */
    @TableField("subject")
    private String subject;

    /**
     * 文档添加的用户id
     */
    @TableField("add_userid")
    private String addUserid;

    /**
     * 用户id
     */
    @TableField("current_userid")
    private String currentUserid;

    /**
     * 结束用户id
     */
    @TableField("end_userid")
    private String endUserid;

    /**
     * 当前节点id
     */
    @TableField("current_node_id")
    private String currentNodeId;

    /**
     * 当前节点名字
     */
    @TableField("current_node_name")
    private String currentNodeName;

    /**
     * 删除标记:0未删除,1删除
     */
    @TableField("is_delete")
    @TableLogic
    private String isDelete;


}
